package cn.xjfcloud.onedriveserver.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.xjfcloud.onedriveserver.pojo.dto.ApiConfig;

@Mapper
public interface ApiConfigMapper {
	
	@Select(value = "select * from tbl_api_config where id = #{id}")
	ApiConfig getApiConfigById(Integer id);
	
	Integer updateApiConfigById(@Param("apiConfig")ApiConfig apiConfig);
}
